package org.example;

public interface ISwap {

    default void swap(int[] nums,
                      int i,
                      int j) {
        int temp = nums[i];
        nums[i] = nums[j];
        nums[j] = temp;
    }
}
